Ext.define("Mypocket.view.school.Bio", {
    extend: "Ext.Container",
    id: "schoolBio",
    config: {
        tpl: Ext.create("Ext.XTemplate", '<span class="legislator-pic" style="background-image: url(resources/img/school.png);"></span>', '<div class="legislator-name">', '<div class="title">{sname}</div>', '<div class="district">{district}</div>', "</div>", '<div class="x-list-normal"><div class="x-list-header">联系方式</div>', '<div class="legislator-info">', "学校地址: {address}<br />", "邮编: {postcode}<br />", "电话: {tel}", "</div></div>", '<div class="x-list-normal"><div class="x-list-header">路线</div>', '<div class="legislator-info">{route}</div>', "</div>")
    }
});




//Ext.define("Mypocket.view.School.Info", {
//    extend: "Ext.Container",
//    requires: ["Mypocket.view.School.Bio"],
//    id: "SchoolInfo",
//    config: {
//        layout: "vbox",
//        scrollable: "vertical",
//        items: [{
//            xclass: "GeoCon.view.School.Bio"
//        }]
//    }
//});